Ext.define('HelloWorld.view.Blog',{
        extend:'Ext.navigation.View',
        xtype:'blg',
        requires:['Ext.dataview.List','Ext.data.proxy.JsonP'],
        config:{
                title:'Blog',
                iconCls:'star',
                items:[
                        {
                                title:'Recent Posts',
                                xtype:'list',
                                itemTpl:'{title}',
                                store:{
                                        autoLoad:true,
                                        fields:['title','auth','content'],
                                        proxy:{
                                                type:'jsonp',
                                                url: 'https://ajax.googleapis.com/ajax/services/feed/load?v=1.0&q=http://feeds.feedburner.com/SenchaBlog',
                                                reader:{
                                                        type:'json',
                                                        rootProperty:'responseData.feed.entries'
                                                }
                                        }
                                }
                        }
                ]
        }
        
});


